package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典表
 *
 * @author Yancy
 * @since 2024-01-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_dict")
@ApiModel(value = "SysDict对象", description = "字典表")
public class SysDict extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文本")
    @TableField("dict_text")
    private String dictText;

    @ApiModelProperty("字典值")
    @TableField("dict_value")
    private String dictValue;

    @ApiModelProperty("描述")
    @TableField("note")
    private String note;

    @ApiModelProperty("1:启用 0: 禁用")
    @TableField("status")
    private Boolean status;


    public static final String DICT_TEXT = "dict_text";

    public static final String DICT_VALUE = "dict_value";

    public static final String NOTE = "note";

    public static final String STATUS = "status";

}
